package bean;

public class Info {
    int id;
    String name;
    int age;
    String address;
    int rankId;
    String type;

    public Info() {
    }

    public Info(int id, String name, int age, String address, int rankId, String type) {
        this.id = id;
        this.name = name;
        this.age = age;
        this.address = address;
        this.rankId = rankId;
        this.type = type;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public int getRankId() {
        return rankId;
    }

    public void setRankId(int rankId) {
        this.rankId = rankId;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    @Override
    public String toString() {
        return "Info{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", age=" + age +
                ", address='" + address + '\'' +
                ", rankId=" + rankId +
                ", type='" + type + '\'' +
                '}';
    }
}
